﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ShowPageParamEdit.aspx.cs" Inherits="nst_ShowPageParamEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>修改ShowPageParam</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        ID: <asp:Label ID="LabelId" runat="server" Text=""></asp:Label>
        
        <table>
            <tr>
                <td>typeId</td>
                <td>
                    <asp:TextBox ID="txtTypeId" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="ReqTypeId" runat="server" ErrorMessage="输入TypeId" ControlToValidate="txtTypeId" Display="Dynamic" ValidationGroup="valid"></asp:RequiredFieldValidator>
                    <asp:RangeValidator ID="RangeTypeId" runat="server" ErrorMessage="输入数字" ControlToValidate="txtTypeId" Display="Dynamic" MaximumValue="9999" MinimumValue="1" ValidationGroup="valid"></asp:RangeValidator>
                </td>
                <td>typeName</td>
                <td>
                    <asp:TextBox ID="txtTypeName" runat="server" MaxLength="20"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="ReqTypeName" runat="server" ErrorMessage="输入TypeName" ControlToValidate="txtTypeName" Display="Dynamic" ValidationGroup="valid"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>typeCode</td>
                <td>
                    <asp:TextBox ID="txtTypeCode" runat="server" MaxLength="20"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="ReqTypeCode" runat="server" ErrorMessage="输入TypeCode" ControlToValidate="txtTypeCode" Display="Dynamic" ValidationGroup="valid"></asp:RequiredFieldValidator>
                </td>
                <td>typeTotalCount</td>
                <td>
                    <asp:TextBox ID="txtTypeTotalCount" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="ReqTotal" runat="server" ErrorMessage="输入TypeTotalCount" ControlToValidate="txtTypeTotalCount" Display="Dynamic" ValidationGroup="valid"></asp:RequiredFieldValidator>
                    <asp:RangeValidator ID="RangeTotalCount" runat="server" ErrorMessage="输入数字" ControlToValidate="txtTypeTotalCount" Display="Dynamic" MaximumValue="9999" MinimumValue="1" ValidationGroup="valid"></asp:RangeValidator>
                </td>
            </tr>
            <tr>
                <td>title</td>
                <td colspan="3">
                    <asp:TextBox ID="txtTitle" runat="server" MaxLength="30"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="ReqTitle" runat="server" ErrorMessage="输入Title" ControlToValidate="txtTitle" Display="Dynamic" ValidationGroup="valid"></asp:RequiredFieldValidator>
                </td>               
            </tr>            
            <tr>
                <td>keyword</td>
                <td colspan="3">
                    <asp:TextBox ID="txtKeyword" runat="server" Width="500px" MaxLength="50"></asp:TextBox> 
                    <asp:RequiredFieldValidator ID="ReqKeyword" runat="server" ErrorMessage="输入Keyword" ControlToValidate="txtKeyword" Display="Dynamic" ValidationGroup="valid"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>description</td>
                <td colspan="3">
                    <asp:TextBox ID="txtDescription" runat="server" Width="500px" MaxLength="80"></asp:TextBox> 
                    <asp:RequiredFieldValidator ID="ReqDescription" runat="server" ErrorMessage="输入Description" ControlToValidate="txtDescription" Display="Dynamic" ValidationGroup="valid"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>newsSiteId</td>
                <td colspan="3">
                    <asp:TextBox ID="txtNewsSiteId" runat="server" Width="500px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>remark</td>
                <td colspan="3">
                    <asp:TextBox ID="txtRemark" runat="server" Width="500px"></asp:TextBox> 
                </td>
            </tr>
        </table>
        <asp:Button ID="ButtonEdit" runat="server" Text="修改参数" onclick="ButtonEdit_Click" ValidationGroup="valid" />
        <asp:Label ID="LabelMsg" runat="server" ForeColor="Red" Text=""></asp:Label>    
    </div>
    </form>
</body>
</html>
